package cn.com.bluemoon.daps.notice.template;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.BeanUtils;

/**
 * @author Jarod.Kong
 */
@Setter
@Getter
@ToString
public class PreMetadataImpactTxtMessage extends MetadataImpactMessage {
    public PreMetadataImpactTxtMessage() {
    }

    public PreMetadataImpactTxtMessage(MetadataImpactMessage metadataImpactMessage) {
        BeanUtils.copyProperties(metadataImpactMessage, this);
    }

    @Override
    public String getMsgTemplatePath() {
        return "metadata-impact-template.txt";
    }
}
